--- /dev/null
+--- a/gbversion.h.in
++++ b/gbversion.h.in
+@@ -5,4 +5,4 @@
+ * Isn't simplification via automation grand?
+ */
+ #define VERSION "@GBMAJOR@.@GBMINOR@.@GBMICRO@@PACKAGE_RELEASE@"
+-#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-@DOCVERSION@"
++#define WEB_DOC_DIR "file:///usr/share/doc/gpsbabel/htmldoc/index.html"
+--- a/gui/help/gpsbabel.html
++++ b/gui/help/gpsbabel.html
+@@ -1,3 +1,3 @@
+ <p>This is the local help. It currently isn't very helpful.</p>
+-<p>The <a href="http://www.gpsbabel.org/htmldoc-development"> online help
++<p>The <a href="file:///usr/share/doc/gpsbabel/htmldoc/index.html"> online help
+ is mo betta.</p>
+--- a/xmldoc/gpsbabel_man.xml
++++ b/xmldoc/gpsbabel_man.xml
+@@ -79,7 +79,7 @@ or as the backend for other tools. </par
+ <listitem> <para>Display help that is more exhaustive than this page. If <replaceable>format</replaceable> is given, provide help for only that format.</para> </listitem>
+ </varlistentry>
+ </variablelist>
+-<para>Lists of filters and formats are given in the doc at http://www.gpsbabel.org. </para>
++<para>Lists of filters and formats are given in the doc at /usr/share/doc/gpsbabel/htmldoc/. </para>
+ </refsect1>
+
+ <refsect1><title>See Also</title>
# Add here commands to install the package into debian/gpsbabel.
$(MAKE) install DESTDIR=$(CURDIR)/debian/gpsbabel
+
+ # Rename htmldoc dir
+ mv `ls -d $(CURDIR)/debian/doctmp/htmldoc-*` $(CURDIR)/debian/doctmp/htmldoc
+
dh_install